package com.JohnCarloSalter.BackEnd;

public class Item {
	private String name;
	private double price;
	private String description;
	
	public Item(String n, double p, String d) {
		name = n;
		price = p;
		description = d;
	}
	
	//Getters.
	public String getName() { return name; }
	public double getPrice() { return price; }
	public String getDescription() { return description; }
	
	public String toString() { return "Item: " + name + ":\n"
			+ description + "\n"
			+ "Price: " + price;
	}
}
